// written by Adam Barrer and Alex Keybl



#ifndef EVENT_H_
#define EVENT_H_
#include <string>
#include <iostream>
#include <sstream>
using namespace std;

class Event{
	public:
		Event();
		Event(int day, const string& description);
		Event(int day, double start, double end, const string& description);
		
		//setDay(Date day);
		//setTime(int start, int end);
		//setDescription(string description);
		
		int getDay();
		double getStart();
		double getEnd();
		int getHash();
		string getDescription();
		bool isAllDay();
		string printDay();
		
		bool operator== (const Event& other);
		
	protected:
		// int myDate is in the form "MMDD" where M is month and D is date 
		int myDate;
		double myStart;
		double myEnd;
		bool allDay;
		string myDescription;
		int myHash;
};

#endif /*EVENT_H_*/
